An Algorithm for Generating All Connected Subgraphs with k Vertices of a Graph
نویسندگان
چکیده
In this paper, we introduce a new algorithm ConSubg(k, G) for computing all the connected subgraphs of a fixed size k of a graph G. ConSubg exploits the structure of the graph to prevent the generation of disconnected subgraphs, and is thus particularly advantageous for large sparse graphs. The two main features of our approach are the construction of a combination tree and the definition of an operator ⊗t applied to the nodes of the tree that allow us to generate without duplication the connected subgraphs. We describe and analyze ConSubg(k, G), then demonstrate its effectiveness on random graphs with a fixed degree, scalefree networks, and dual graphs of constraint satisfaction problems.
منابع مشابه
Generating 3-vertex connected spanning subgraphs
In this paper we present an algorithm to generate all minimal 3-vertex connected spanning subgraphs of an undirected graph with n vertices and m edges in incremental polynomial time, i.e., for every K we can generate K (or all) minimal 3-vertex connected spanning subgraphs of a given graph in O(K2log(K)m2 +K2m3) time, where n and m are the number of vertices and edges of the input graph, respec...
متن کاملThe Steiner diameter of a graph
The Steiner distance of a graph, introduced by Chartrand, Oellermann, Tian and Zou in 1989, is a natural generalization of the concept of classical graph distance. For a connected graph $G$ of order at least $2$ and $Ssubseteq V(G)$, the Steiner distance $d(S)$ among the vertices of $S$ is the minimum size among all connected subgraphs whose vertex sets contain $S$. Let $...
متن کاملA Polynomial Delay Algorithm for Generating Connected Induced Subgraphs of a Given Cardinality
We give a polynomial delay algorithm, that for any graph G and positive integer k, enumerates all connected induced subgraphs of G of order k. Our algorithm enumerates each subgraph in at most O((kmin{(n − k), k∆})(∆+ log k)) and uses linear space O(n+m), where n and m are respectively the number of vertices and edges of G and ∆ is the maximum degree.
متن کاملOn Generation of Cut Conjunctions, Minimal K-connected Spanning Subgraphs, Minimal Connected and Spanning Subsets and Vertices
OF THE DISSERTATION On Generation of Cut Conjunctions, Minimal k-Connected Spanning Subgraphs, Minimal Connected and Spanning Subsets and Vertices by Konrad Borys Dissertation Director: Professor Endre Boros We consider the following problems: • Cut conjunctions in graphs: given an undirected graphG = (V,E) and a collection of vertex pairs B ⊆ V × V generate all minimal edge sets X ⊆ E such tha...
متن کاملThe Sum Graph of Non-essential Submodules
Throughout this paper, R will denote a commutative ring with identity and M is a unitary R- module and Z will denote the ring of integers. We introduce the graph Ω(M) of module M with the set of vertices contain all nontrivial non-essential submodules of M. We investigate the interplay between graph-theoretic properties of Ω(M) and algebraic properties of M. Also, we assign the values of natura...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013